package Task;

public class CylinderTest {
    public static void main(String[] args) {
        Cylinder cylinder = new Cylinder();
        cylinder.setR(10);
         cylinder.setHeight(20);
         double s = cylinder.findvolume();
        System.out.println("圆柱的体积"+ s);
    }
}
